package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:02:12
 */
@ApiModel(value = "jbr_user_bank_card", description = "用户银行卡")
@TableName(value = "jbr_user_bank_card")
public class JbrUserBankCard implements Serializable {
	@ApiModelProperty(value = "id")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "id不能为空")
	private Integer id;
	@ApiModelProperty(value = "用户id")
	@TableField(value="user_id")
	@NotNull(message = "用户id不能为空")
	private Integer user_id;
	@ApiModelProperty(value = "1 用户 2运营商 3仓库")
	@TableField(value="type")
	private Long type;
	@ApiModelProperty(value = "持卡人姓名")
	@TableField(value="re_user_name")
	@NotNull(message = "持卡人姓名不能为空")
	private String re_user_name;
	@ApiModelProperty(value = "银行编码")
	@TableField(value="bank_code")
	@NotNull(message = "银行编码不能为空")
	private String bank_code;
	@ApiModelProperty(value = "银行名称")
	@TableField(value="bank_name")
	@NotNull(message = "银行名称不能为空")
	private String bank_name;
	@ApiModelProperty(value = "银行卡号")
	@TableField(value="bank_card_num")
	@NotNull(message = "银行卡号不能为空")
	private String bank_card_num;
	@ApiModelProperty(value = "添加时间")
	@TableField(value="add_time")
	private Timestamp add_time;
	@ApiModelProperty(value = "是否默认")
	@TableField(value="is_default")
	private Long is_default;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Long getType() {
		return type;
	}
	public void setType(Long type) {
		this.type = type;
	}
 
	public String getRe_user_name() {
		return re_user_name;
	}
	public void setRe_user_name(String re_user_name) {
		this.re_user_name = re_user_name;
	}
 
	public String getBank_code() {
		return bank_code;
	}
	public void setBank_code(String bank_code) {
		this.bank_code = bank_code;
	}
 
	public String getBank_name() {
		return bank_name;
	}
	public void setBank_name(String bank_name) {
		this.bank_name = bank_name;
	}
 
	public String getBank_card_num() {
		return bank_card_num;
	}
	public void setBank_card_num(String bank_card_num) {
		this.bank_card_num = bank_card_num;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
 
	public Long getIs_default() {
		return is_default;
	}
	public void setIs_default(Long is_default) {
		this.is_default = is_default;
	}

}